package com.bridgeintelligent.tag.engine.mvc.service;

import com.bridgeintelligent.tag.engine.api.rsp.AnalysisAggregationResult;
import com.bridgeintelligent.tag.engine.api.rsp.AnalysisAggregationRsp;
import com.bridgeintelligent.tag.engine.es.model.AnalysisAggregationModel;

import java.io.IOException;

/**
 * 画像分析
 */
public interface IAnalysisAggregationService {

    AnalysisAggregationResult getAnalysisAggregation(AnalysisAggregationModel model) throws IOException;

    String compute(long k1,long k2);

    long getExistCount(AnalysisAggregationModel model,String field) throws IOException;

    long getAllCount(String indexId) throws IOException;

    AnalysisAggregationRsp getPercent(AnalysisAggregationModel model) throws IOException;


}
